package db_java;

import java.sql.SQLException;
import java.util.Collection;

public interface Dao<T> {
	Collection<T> findByExample(T example) throws SQLException;
	void insertInTable(T entry) throws SQLException;
	Collection<T> findAll() throws SQLException;

}
